package model;

public class Resource {
	String id;
	boolean transientUsage;
	int weightLoadCost;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public boolean isTransientUsage() {
		return transientUsage;
	}

	public void setTransientUsage(boolean transientUsage) {
		this.transientUsage = transientUsage;
	}

	public int getWeightLoadCost() {
		return weightLoadCost;
	}

	public void setWeightLoadCost(int weightLoadCost) {
		this.weightLoadCost = weightLoadCost;
	}

	public String toString() {
		return String.format("%s TR=%s %d", id, transientUsage, weightLoadCost);
	}
}